﻿<%@ Page Language="C#" AutoEventWireup="true" %>

<%@ Import Namespace="System.Security.Cryptography" %>
<%@ Import Namespace="System.Threading" %>

<script runat="server">
	void Page_Load()
	{
		byte[] delay = new byte[1];
		RandomNumberGenerator prng = new RNGCryptoServiceProvider();

		prng.GetBytes(delay);
		Thread.Sleep((int)delay[0]);

		IDisposable disposable = prng as IDisposable;
		if (disposable != null)
		{
			disposable.Dispose();
		}
	}
</script>

<html>
<head id="Head1" runat="server">
	<title>Ошибка</title>
</head>
<body>
	<div>
		Произошла ошибка при обработке вашего запроса.
	</div>
</body>
</html>
